#ifndef MY_LABEL_H
#define MY_LABEL_H

#include <QLabel>
#include <QWidget>

class my_label : public QLabel
{
    Q_OBJECT
public:
    my_label(QWidget* parent);

    void enterEvent(QEnterEvent* event);

    void leaveEvent(QEvent* event);

    void mousePressEvent(QMouseEvent* event);

    void mouseReleaseEvent(QMouseEvent* event);

    void mouseDoubleClickEvent(QMouseEvent* event);
};

#endif // MY_LABEL_H
